commonlibsse_ng\re\a\Actor/
enums.rs1#[commonlibsse_ng_derive_internal::ffi_enum]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
3pub enum SlotTypes {
4 LeftHand = 0,
5 RightHand,
6 Unknown,
7 PowerOrShout,
8}
9
10#[commonlibsse_ng_derive_internal::to_bitflags]
11#[repr(u32)]
12#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
13pub enum BOOL_BITS {
14 None = 0,
15 DelayUpdateScenegraph = 1 << 0,
16 ProcessMe = 1 << 1,
17 MurderAlarm = 1 << 2,
18 HasSceneExtra = 1 << 3,
19 HeadingFixed = 1 << 4,
20 SpeakingDone = 1 << 5,
21 IgnoreChangeAnimationCall = 1 << 6,
22 SoundFileDone = 1 << 7,
23 VoiceFileDone = 1 << 8,
24 InTempChangeList = 1 << 9,
25 DoNotRunSayToCallback = 1 << 10,
26 Dead = 1 << 11,
27 ForceGreetingPlayer = 1 << 12,
28 ForceUpdateQuestTarget = 1 << 13,
29 SearchingInCombat = 1 << 14,
30 AttackOnNextTheft = 1 << 15,
31 EvpBuffered = 1 << 16,
32 ResetAI = 1 << 17,
33 InWater = 1 << 18,
34 Swimming = 1 << 19,
35 VoicePausedByScript = 1 << 20,
36 WasInFrustrum = 1 << 21,
37 ShouldRotateToTrack = 1 << 22,
38 SetOnDeath = 1 << 23,
39 DoNotPadVoice = 1 << 24,
40 FootIKInRange = 1 << 25,
41 PlayerTeammate = 1 << 26,
42 GivePlayerXP = 1 << 27,
43 SoundCallbackSuccess = 1 << 28,
44 UseEmotion = 1 << 29,
45 Guard = 1 << 30,
46 Paralyzed = 1 << 31,
47}
48
49#[commonlibsse_ng_derive_internal::to_bitflags]
50#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
51pub enum BOOL_FLAGS {
52 None = 0,
53 ScenePackage = 1 << 0,
54 IsAMount = 1 << 1,
55 MountPointClear = 1 << 2,
56 GettingOnOffMount = 1 << 3,
57 InRandomScene = 1 << 4,
58 NoBleedoutRecovery = 1 << 5,
59 InBleedoutAnimation = 1 << 6,
60 CanDoFavor = 1 << 7,
61 ShouldAnimGraphUpdate = 1 << 8,
62 CanSpeakToEssentialDown = 1 << 9,
63 BribedByPlayer = 1 << 10,
64 AngryWithPlayer = 1 << 11,
65 IsTrespassing = 1 << 12,
66 CanSpeak = 1 << 13,
67 IsInKillMove = 1 << 14,
68 AttackOnSight = 1 << 15,
69 IsCommandedActor = 1 << 16,
70 ForceOneAnimgraphUpdate = 1 << 17,
71 Essential = 1 << 18,
72 Protected = 1 << 19,
73 AttackingDisabled = 1 << 20,
74 CastingDisabled = 1 << 21,
75 SceneHeadTrackRotation = 1 << 22,
76 ForceIncMinBoneUpdate = 1 << 23,
77 CrimeSearch = 1 << 24,
78 MovingIntoLoadedArea = 1 << 25,
79 DoNotShowOnStealthMeter = 1 << 26,
80 MovementBlocked = 1 << 27,
81 AllowInstantFurniturePopInPlayerCell = 1 << 28,
82 ForceAnimGraphUpdate = 1 << 29,
83 CheckAddEffectDualCast = 1 << 30,
84 Underwater = 1 << 31,
85}
86
87#[commonlibsse_ng_derive_internal::to_bitflags]
88#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
89#[repr(u32)]
90pub enum ChangeFlag {
91 LifeState = 1 << 10,
92 PackageExtraData = 1 << 11,
93 MerchantContainer = 1 << 12,
94 DismemberedLimbs = 1 << 17,
95 LeveledActor = 1 << 18,
96 DispModifiers = 1 << 19,
97 TempModifiers = 1 << 20,
98 DamageModifiers = 1 << 21,
99 OverrideModifiers = 1 << 22,
100 PermanentModifiers = 1 << 23,
101}
102
103#[commonlibsse_ng_derive_internal::to_bitflags]
104#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
105#[repr(u32)]
106pub enum RecordFlag {
107 Deleted = 1 << 5,
108 StartsDead = 1 << 9,
109 Persistent = 1 << 10,
110 InitiallyDisabled = 1 << 11,
111 Ignored = 1 << 12,
112 NoAIAcquire = 1 << 25,
113 DontHavokSettle = 1 << 29,
114}